package poo.banca;

public class Banca {
	private ContoBancario[] clientela;
	private int size;

	public Banca(int n) {
		if (n < 0)
			throw new IllegalArgumentException();
		clientela = new ContoBancario[n];
	}

	public String toString() {
		StringBuilder sb = new StringBuilder(500);
		for (int i = 0; i < size; i++) {
			sb.append(clientela[i]);
			sb.append("\n");
		}
		return sb.toString();
	}

}
